package com.cays.myresearch.entity;

/**
 * @ClassName ResponseInfo
 * @Discription TODO
 * @Author Cays
 * @Date 2018/7/22 12:52
 * @Version 1.0
 **/
public class ResponseInfo {
    private int responseCode;
    private String responseInfo;

    public ResponseInfo(){}
    public ResponseInfo(int responseCode, String responseInfo) {
        this.responseCode = responseCode;
        this.responseInfo = responseInfo;
    }

    public int getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(int responseCode) {
        this.responseCode = responseCode;
    }

    public String getResponseInfo() {
        return responseInfo;
    }

    public void setResponseInfo(String responseInfo) {
        this.responseInfo = responseInfo;
    }
    public void setAll(int code,String info){
        responseCode=code;responseInfo=info;
    }
}
